﻿// Copyright 2010 Maxime Serrano <lastchronicler@gmail.com>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MCSharp {
    public struct Position {
        public double x, y, z, stance;
        public float rotation, pitch;

        public Position(double x, double y, double z) {
            this.x = x;
            this.y = y;
            this.z = z;
            this.stance = 0;
            this.rotation = 0f;
            this.pitch = 0f;
        }

        public Position(double x, double y, double z, float rotation, float pitch) {
            this.x = x;
            this.y = y;
            this.z = z;
            this.stance = 0;
            this.rotation = rotation;
            this.pitch = pitch;
        }
    }

    public struct BlockPosition {
        public int x, z;
        public byte y;

        public BlockPosition(int x, byte y, int z) {
            this.x = x;
            this.y = y;
            this.z = z;
        }
    }
}
